Trilium has a mobile web frontend which is optimized for touch based devices - smartphones and tablets. It is activated automatically during login process based on browser detection.

Mobile frontend is limited in features compared to the full desktop version. See below for more details on this.

Layout basics

Unlike the desktop version, the mobile version has a slightly different UI meant to better fit the constrained screens of a mobile phone.

Here is a non-exhaustive list of differences between the desktop version and the mobile one:

Installing as a PWA

The mobile view can be set up as a PWA. While this does not offer any offline capabilities, it will display the application in full-screen and makes it easy to access via your mobile phone's home screen.

On iOS with Safari

  1. Open your default web browser and access your Trilium instance.
  2. Login.
  3. Press the […] button in the bottom-right of the screen and select Share.
  4. Scroll down to reveal the full list of items and choose “Add to Home Screen”.
  5. Press “Add” and the web app will be available.

On Android with Google Chrome

  1. Open your default web browser and access your Trilium instance.
  2. Login.
  3. Press the three vertical dots icon in the top-right of the screen and select Add to Home screen.
  4. Select the Install option.
  5. Select an appropriate name.
  6. The web app will appear as an application, not on the home screen.

On Android with Brave

  1. Open your default web browser and access your Trilium instance.
  2. Login.
  3. Press the three vertical dots icon in the bottom-right of the screen and select Add to Home screen.
  4. Press the Install option.
  5. The web app will appear as an application, not on the home screen.

On Samsung Browser

  1. Open your default web browser and access your Trilium instance.
  2. Login.
  3. Press the hamburger menu in the bottom-right of the screen.
  4. Select Add to, followed by Home screen.
  5. Press Add and the web app will appear on the home page.

Testing via the desktop application

If you are running Trilium without a dedicated server installation, you can still test the mobile application using the desktop application. For more information, see Using the desktop application as a server. To access it go to http://<ip>:37840/login?mobile .

Forcing mobile/desktop frontend

Trilium decides automatically whether to use mobile or desktop front-end. If this is not appropriate, you can use ?mobile or ?desktopquery param on login page (Note: you might need to log out).

Alternatively, simply select Switch to Mobile/Desktop Version in the Global menu.

Scripting

You can alter the behavior with Scripting, just like for normal frontend. For script notes to be executed, they need to have labeled #run=mobileStartup.

Custom Launch Bar widgets are also supported.